package com.wlhse.dao;

import com.wlhse.dto.PoiProblemDto;
import com.wlhse.dto.ProblemMessageDto;
import com.wlhse.dto.outDto.ProblemImportDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PoiProblemDao {

    PoiProblemDto getPoiProblem(PoiProblemDto poiProblemDto);

    ProblemMessageDto getProblemMessageDto(@Param("problemId") Integer problemId);
    //查询公司员工
    List<Integer> getAllEmployee(@Param("companyCode") String companyCode);

    //批量增加problem
    int addProblemList(List<PoiProblemDto> poiProblemDtos);

    String getOrderNumber(@Param("taskId") Integer taskId);

//    int addProblemList(List<ProblemImportDto> problemImportDtos);

    List<Integer> getEmpIdByComRole(@Param("companyCode")String companyCode,@Param("roleCode")String roleCode);

    PoiProblemDto getOrderNumCheckItem(@Param("planId")Integer planId,@Param("checkItemCode")String checkItemCode);

}
